package com.zl.smartmall.library.po;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 县区的信息
 * 
 * @author Administrator
 *
 */
public class DictDistrictInfo implements Parcelable {
	private String districtid;
	private String districtname;
	private int status;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}


	public String getDistrictid() {
		return districtid;
	}

	public void setDistrictid(String districtid) {
		this.districtid = districtid;
	}

	public String getDistrictname() {
		return districtname;
	}

	public void setDistrictname(String districtname) {
		this.districtname = districtname;
	}


	public DictDistrictInfo() {

	}

	public DictDistrictInfo(Parcel source) {
		districtid = source.readString();
		districtname = source.readString();
		status = source.readInt();
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(districtid);
		dest.writeString(districtname);
		dest.writeInt(status);
	}

	public static final Parcelable.Creator<DictDistrictInfo> CREATOR = new Creator<DictDistrictInfo>() {

		@Override
		public DictDistrictInfo[] newArray(int size) {
			return new DictDistrictInfo[size];
		}

		@Override
		public DictDistrictInfo createFromParcel(Parcel source) {

			return new DictDistrictInfo(source);
		}
	};

}
